# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1302848172.568865
_template_filename=u'/home/dcrowdy/src/arkaiv/trunk/arkaiv/templates/autohandler'
_template_uri=u'/autohandler'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = []


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        next = context.get('next', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n    <head>\n        <title>Arkaiv</title>\n            <link rel="stylesheet" href="/arkaiv.css"></link>\n\n<script type="text/javascript" src="http://www.google.com/jsapi"></script>\n<script type="text/javascript">google.load("prototype", "1.6.0.3");</script>\n<script type="text/javascript">google.load("scriptaculous", "1.8.3");</script>\n\n    </head>\n    <body onkeypress=\'keyPressed(event)\'>\n\n\n<div id="content">\n\n<div id="header">\n\n\t<div id="description"><h1>Arkaiv</h1><h2>Media annotation for archiving</h2></div>\n\n<div id="navcontainer">\n<!--ul id="navlist"-->\n<ul>\n  <li>')
        # SOURCE LINE 24
        __M_writer(escape( h.link_to("All Items", h.url(controller='list', action='index')) ))
        __M_writer(u'</li>\n  <li>')
        # SOURCE LINE 25
        __M_writer(escape( h.link_to("Collections", h.url(controller='collection', action='list')) ))
        __M_writer(u'</li>\n  <li>')
        # SOURCE LINE 26
        __M_writer(escape( h.link_to("Add media", h.url(controller='addmedia', action='index')) ))
        __M_writer(u'</li>\n  <li>')
        # SOURCE LINE 27
        __M_writer(escape( h.link_to("Playlists", h.url(controller='playlist', action="playlistpage")) ))
        __M_writer(u'</li>\n  <li>')
        # SOURCE LINE 28
        __M_writer(escape( h.link_to("Help", h.url(controller='help', action='index')) ))
        __M_writer(u'</li>\n\n  <li>\n')
        # SOURCE LINE 31
        __M_writer(escape( h.form(h.url(controller='page', action='search'), multipart=True) ))
        __M_writer(u'\n<input type="text" name="searchterms" value="Search"/>\n')
        # SOURCE LINE 33
        __M_writer(escape( h.end_form() ))
        __M_writer(u' \n  </li>\n\n  <li>')
        # SOURCE LINE 36
        __M_writer(escape( h.link_to("Login", h.url(controller='admin', action='login')) ))
        __M_writer(u'</li>\n  <li>')
        # SOURCE LINE 37
        __M_writer(escape( h.link_to("Logout", h.url(controller='admin', action='logout')) ))
        __M_writer(u'</li>\n</ul>\n</div>\n</div>\n\n<div style="clear: both;"></div>\n\n')
        # SOURCE LINE 44
        __M_writer(escape(next.body()))
        __M_writer(u'\n\n<div style="clear:both;"></div>\n    <div id="footer">Arkaiv is an open-source media annotation application | &copy; Arkaiv 2009 | <a href="http://www.firefox.com">Firefox 3.5+</a> required.</div>\n    \n</div>\n    </body>\n</html>\n\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


